﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
   public class Product
    {
        [Key]
        public int Id { get; set; }
        [StringLength(50)]
        [Required]
        public string ShopName { get; set; }

        [Required]
        public int ProductLeiBieId { get; set; }
        [StringLength(50)]
        [Required]
        public string ProductPinPai { get; set; }
        [StringLength(50)]
        [Required]
        public string ProductChanDi { get; set; }
     
        [Required]
        public  string ProductDetail { get; set; }
       
        public string ProductImgDetailUrl { get; set; }
        [Required]
        public string ProductJianJie { get; set; }
 
        public string ProductJianJieImgUrl { get; set; }
       public decimal Price { get; set; }
    }
}
